package com.huixin.powermonitor.common;

import lombok.Data;

import java.util.HashMap;

@Data
public class QueryPageParam {
    // 默认每页显示20条
    private static int PAGE_SIZE = 20;
    // 默认页码
    private static int PAGE_NUM = 1;

    // 每页数量
    private int pageSize = PAGE_SIZE;
    // 当前页码
    private int pageNum = PAGE_NUM;

    // 查询参数
    // 封装查询的值存在param中
    private HashMap<String, Object> param = new HashMap<>();

}